package com.hxzy.controller.vue.product.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;

/**
 * @Author wy
 * @Description 价格改变
 * @Date 2023/9/18 15:58
 * @Version 1.0
 */
@Getter
@Setter
@ToString
@ApiModel(value = "商品价格改变")
public class PriceChangeReq {

    @ApiModelProperty(value = "商品id")
    @NotNull(message = "主键不能为空")
    private Long id; 

    /**
     * 商品价格
     */
    @ApiModelProperty(value = "商品价格")
    @NotNull(message = "商品价格为空")
    private Double price;
}
